package net.xdclass.service.fallback;

import net.xdclass.service.service.ProductClient;
import org.springframework.stereotype.Component;

/**
 * author: 何建文
 * create: 2020-07-18 20:13
 * description:
 **/
@Component
public class ProductFeignFallback implements ProductClient {

    @Override
    public String findById(int id) {
        System.out.println("feign 调用 product-service异常");
        return null;
    }
}
